package adv2;

public class Stu2Test {

	public static void main(String[] args) {
		// 美剧
		Sex s = Sex.人妖;
		System.out.println(s);
		System.out.println(Sex.男);
		Sex s2 = Sex.valueOf("妖");
		int p = Sex.女.ordinal();
		System.out.println("女在" + p + "这个位置");
		System.out.println(s2);
		System.out.println(">>>>>>>>>>>>>");
		Student2 s3 = new Student2("老吴", "222", 21, Sex.valueOf("男性"));
		System.out.println(s3);
	}

}
